/** *******************************************************************
 * FlexDatabaseManager
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.tables
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
		
	public final class RemoveRecordEvent extends CairngormEvent
	{
		public static const REMOVE_RECORD_EVENT:String = "REMOVE_RECORD_EVENT";
		
	/* 	public var aRecord:Object;
		public var aDatabase:String; */
		public var aQuery:String;
		
		public function RemoveRecordEvent(  aQuery:String )
		{
			super( REMOVE_RECORD_EVENT );
			this.aQuery = aQuery;
			/* this.aTable = aTable;
			this.aRecord = aRecord; */
		}
		
		override public function clone():Event
		{
			return new RemoveRecordEvent( aQuery );
		}
	}
}